<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen" />

    <script src="/js/jquery-3.4.1.min.js"></script>


</head>
<body>
<header th:fragment="header">
    <div id="Header">

        <div id="Logo">
            <div id="LogoContent">
                <a href="main"><img src="../images/logo-topbar.gif" /></a>
            </div>
        </div>

        <div id="Menu">
            <div id="MenuContent">
<!--                购物车-->
<!--                <a href="viewCart"><img align="middle" name="img_cart" src="../images/cart.gif" />-->
<!--                </a>-->

<!--                <img align="middle" src="../images/separator.gif" />-->

                <!--                    <c:if test="${sessionScope.account == null}">-->
                <!--                        <a href="/account/signOnForm"> Sign In </a>-->
                <!--                    </c:if>-->
<!--                <a th:if = "${account==null}" href="/account/signOnForm"> Sign In </a>-->

                <a th:if = "${account!=null}" href="/manage/signOff"> Sign Out </a>
                <!--                    <c:if test="${sessionScope.account != null}">-->
                <!--                        <a href="/account/signOff"> Sign Out </a>-->
                <!--                    </c:if>-->
                <a th:if = "${account!=null}" href="/manage/viewEditAccount">
                    <img align="middle" src="../images/separator.gif" />
                    My Account </a>

                <!--                    <img align="middle" src="../images/separator.gif" />-->
                <!--                    <c:if test="${sessionScope.account != null}">-->
                <!--                        <img align="middle" src="../images/separator.gif" />-->
                <!--                        <a href="/account/editAccount"> My Account </a>-->
                <!--                    </c:if>-->

<!--                <img align="middle" src="../images/separator.gif" />-->

<!--                <a href="../help.html"> Seller Entry </a>-->

            </div>
        </div>

        <div id="Search">
            <div id="SearchContent">
                <form action="searchProduct" method="post">
                    <input type="text" id="keyword" name="keyword" size="14" />
                    <input type="submit" name="searchProducts" value="Search" />
                    <script src="js/searchProduct.js"></script>
                </form>
            </div>
        </div>

<!--        <div id="QuickLinks">-->
<!--            <a href="/catalog/viewCategory?categoryId=FISH">-->
<!--                <img src="../images/sm_fish.gif" />-->
<!--            </a>-->
<!--            <img src="../images/separator.gif" />-->
<!--            <a href="/catalog/viewCategory?categoryId=DOGS">-->
<!--                <img src="../images/sm_dogs.gif" />-->
<!--            </a>-->
<!--            <img src="../images/separator.gif" />-->
<!--            <a href="/catalog/viewCategory?categoryId=REPTILES">-->
<!--                <img src="../images/sm_reptiles.gif" />-->
<!--            </a>-->
<!--            <img src="../images/separator.gif" />-->
<!--            <a href="/catalog/viewCategory?categoryId=CATS">-->
<!--                <img src="../images/sm_cats.gif" />-->
<!--            </a>-->
<!--            <img src="../images/separator.gif" />-->
<!--            <a href= "/catalog/viewCategory?categoryId=BIRDS">-->
<!--                <img src="../images/sm_birds.gif" />-->
<!--            </a>-->
<!--        </div>-->

    </div>
</header>

</body>
</html>